#include <stdio.h>


int main()
{ 
	int id=0;
	float c=0.0f,mash=0.0f,eng=0.0f;
	scanf("%d;%f,%f,%f",&id,&c,&mash,&eng);
	printf("The each subject score of No. %d is %.2f, %.2f, %.2f\n",id,c,mash,eng);
	return 0;
}